import { Controller, Get ,Auth, Required} from "../lib/decorators";
import { Context } from "koa";

@Controller('/user')
export class UserController{
	@Get('/test')
	// @Required({
  //   query:['userid'],
  //   body:['aaaa','bbb']
  // })
	async test(ctx:Context,next:()=>Promise<any>){
		ctx.body={
			staus:true
		}
	}
}